/**
 * @author: Stephen Halm
 * @date: Nov, 09, 2010
 * @version 0.0.1
 * @class SelfAnnouncement
 */
package uicgas.globaldata;

import java.io.Serializable;

/**
 * @author Stephen Halm
 * @date Nov, 09, 2010
 * @version 0.0.1
 * @class SelfAnnouncement
 */
public class SelfAnnouncement extends MessagePayload implements Serializable
{
	private int ID;
	private int ID_of_requested;

	/**
	 * Generic constructor for SelfAnnouncment 
	 * @author: Stephen Halm
	 * @date Nov, 09, 2010
	 * @version 0.0.1
	 * @param self - the integer ID of the item constructing the SelfAnnouncment
	 * @param ofRequested - the integer ID of the recipient of the SelfAnnouncment
	 */
	public SelfAnnouncement(int self, int ofRequested)
	{
		//ID of whatever originated this message
		ID = self;
		//ID of target of this message
		ID_of_requested = ofRequested;
	}

	/**
	 * get the ID of the sender.
	 * @author Steve
	 * @return
	 */
	public int getID()
	{
		return ID;
	}

	/**
	 * get the ID of the recipient
	 * @author Steve
	 * @return
	 */
	public int getIDofRequested()
	{
		return ID_of_requested;
	}
}
